<?php
// defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = 1;
include $this->admin_tpl ( 'header', 'admin' );
?>
<style>
.tableK {
	font-size: 14px;
	border-spacing: 0px;
	border-bottom: 1px solid #999;
	width: 100%;
}

.tableK tr th {
	background-color: #CFDBEC;
	font-weight: bold;
	width: 160px;
	text-align: right;
	border-right: none;
}

.tableK tr {
	
}

.tableK td {
	border: 1px solid #999;
	border-bottom: none;
	padding: 4px 6px;
}

.tableK td input[type='text'] {
	padding: 2px 4px;
	width: 300px;
	border: 1px solid #999;
}

.tableK td textarea {
	border: 1px solid #999;
}

.buttonpanle {
	width: 70%;
	text-align: center;
	margin-top: 4px;
}

.mf-body-title {
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	padding-left: 20px;
}
</style>
<div>
	<form action="" method="post">
		<table class="tableK" border="0">
			<tbody>
				<tr>
					<th>序号</th>
					<td><?php echo $item['id']?></td>
				</tr>
				<tr>
					<th>公司名称</th>
					<td><?php echo $item['name'];?></td>
				</tr>
				<tr>
					<th>行业</th>
					<td><?php echo $item['profession'];?></td>
				</tr>
				<tr>
					<th>是否推荐</th>
					<td>
					<?php 
						if($item['is_recommend']==1){ 
							echo "是";
						}else{
							echo "否";
						}					
					?>
					</td>
				</tr>
				<tr>
					<th>公司介绍</th>
					<td><?php echo $item['com_desc'];?></td>
				</tr>
				<tr>
					<th>照片</th>
					<td><img src="<?php echo $item['img']?>" height='50' width='50' />
					</td>
				</tr>
				<tr>
					<th>联系人</th>
					<td><?php echo $item['contact'];?></td>
				</tr>
				<tr>
					<th>手机</th>
					<td><?php echo $item['mobile'];?></td>
				</tr>
				<tr>
					<th>联系电话</th>
					<td><?php echo $item['tel'];?></td>
				</tr>
				<tr>
					<th>Email</th>
					<td><?php echo $item['email'];?></td>
				</tr>
				<tr>
					<th>营业执照</th>
					<td><?php echo $item['business_licence'];?></td>
				</tr>
				<tr>
					<td colspan="4"><a
						href="/index.php?m=hchbase&c=company&a=myedit&id=<?php echo $item['id'] ?>">
							<input type="button" name="toedit" id="toedit" value="修改" />
					</a> <a
						href="/index.php?m=hchbase&c=company&a=mylist">
							<input type="button" name="back" id="back" value="列表" />
					</a></td>
				</tr>
			</tbody>
		</table>
	</form>
</div>
</body>
<script type="text/javascript">
</script>
</html>